import request from "@/utils/request";

export function getExpressList(params) {
  return request({
    url: "back/logistics?type=list",
    method: "get",
    params
  });
}

export function addExpress(data) {
  return request({
    url: "back/logistics?type=save",
    method: "post",
    data
  });
}

export function getExpressDetail(params) {
  return request({
    url: "back/logistics?type=details",
    method: "get",
    params
  });
}
export function deleteExpress(data) {
  return request({
    url: "back/logistics?type=delete",
    method: "post",
    data
  });
}

